Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Pagecontainer: Remove unnecessary $( ":focus" ) fallback on page change #7927

Closed

Conversation

gabrielschulhof
Copy link

Fixes gh-1560

@gabrielschulhof gabrielschulhof changed the title Pagecontainer: Remove unnecessary $( ":focus" ) fallback on page changeFixes gh-1560 Pagecontainer: Remove unnecessary $( ":focus" ) fallback on page change Jan 21, 2015
@gabrielschulhof gabrielschulhof added this to the 1.5.0 milestone Jan 21, 2015
@@ -939,7 +939,7 @@ define( [
historyDir, pageTitle, isDialog,
alreadyThere, newPageTitle,
params, cssTransitionDeferred,
beforeTransition;
beforeTransition, focusElement;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Follow style guide for variable declarations

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure what you mean here. Variables that are not being initialized are being listed together at the beginning of the declaration, subsequent lines are indented, the new variable uses complete words. Where does this deviate from the style guide?

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 83.57% when pulling 3ede368 on gabrielschulhof:1560-focus-cleanup into 57a8fff on jquery:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 83.57% when pulling 3ede368 on gabrielschulhof:1560-focus-cleanup into 57a8fff on jquery:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 83.57% when pulling 3ede368 on gabrielschulhof:1560-focus-cleanup into 57a8fff on jquery:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 83.57% when pulling 3ede368 on gabrielschulhof:1560-focus-cleanup into 57a8fff on jquery:master.

arschmitz and others added 21 commits June 9, 2015 14:43
This is now part of the enhancer module also removes tests for this
and the page based enhancer
@arschmitz
Copy link
Contributor

Can you also land this on 1.5-dev please

@gabrielschulhof
Copy link
Author

Reopened as #8154 against 1.5-dev.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Performance: changePage() searches the entire document for :focus elements
6 participants